package com.piggy.logi.sys.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户对账对象 logi_customer_check_bill
 *
 * @author fengxy
 * @date 2023/10/17 20:29
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_customer_check_bill")
public class LogiCustomerCheckBill implements Serializable {

    private static final long serialVersionUID=1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 部门ID */
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    /** 客户ID */
    @ApiModelProperty("客户ID")
    private Long customerId;

    /** 对账人 */
    @ApiModelProperty("对账人")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String checkUser;

    /** 对账时间 */
    @ApiModelProperty("对账时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date checkTime;

    /** 乐观锁 */
    @ApiModelProperty("乐观锁")
    @Version
    private Integer version;

    /** 创建者 */
    @ApiModelProperty("创建者")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty("更新者")
    private String updateBy;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date updateTime;

}
